package com.jt9003.service.impl;

import com.jt9003.dao.DrugsExportMapper;
import com.jt9003.pojo.DrugsExport;
import com.jt9003.service.DrugsExportService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

@Service
public class DrugsExportServiceImpl implements DrugsExportService {

    @Resource
    private DrugsExportMapper drugExportMapper;

    @Override
    public List<DrugsExport> queryDrugsExport(Map param) {
        return drugExportMapper.queryDrugsExport(param);
    }

    @Override
    public Integer queryDrugsExportCount(Map param) {
        return drugExportMapper.queryDrugsExportCount(param);
    }

    @Override
    public Integer addDrugsExport(DrugsExport drugsExport) {
        return drugExportMapper.addDrugsExport(drugsExport);
    }

    @Override
    public Integer deleteDrugsExport(String documentNo) {
        return drugExportMapper.deleteDrugsExport(documentNo);
    }
}
